<?php
// 启动脚本 (php /jinyunwww/www/web.jinyunweb.com/addons/jy_agentmcp/start_mcp.php)
define('NOSESSION',true);
require __DIR__ .'/../../core/core.php';
ini_set('swoole.log_file', '/tmp/swoole_mcp.log');
ini_set('swoole.debug_mode', 1);
try {
    echo "启动\n";
    $result = model('jy_agentmcp/jymcp')->startMultiDeviceManager();
    var_dump($result);
} catch (Exception $e) {
    echo "启动失败: " . $e->getMessage() . "\n";
    exit(1);
}
?>